package com.mohan.dlxj.service;

import com.mohan.dlxj.common.JsonResult;
import com.mohan.dlxj.pojo.Flaw;
import com.mohan.dlxj.pojo.FlawType;

public interface FlawService {
  JsonResult getCircuitList(Integer page, Integer limit);

  void saveType(FlawType flawType);

  void updateType(FlawType flawType);

  JsonResult getFlawList(Integer page, Integer limit);

  void updateFlaw(long id);

  JsonResult getSomeFlawList(long page, long limit, Flaw flaw);

  void ensureLevel(long id, long level);
}
